<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()
            + "://" + request.getServerName()
            + ":" + request.getServerPort()
            + path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>发表帖子</title>

    <link rel="stylesheet" href="<%=basePath%>css/base.css">
    <link rel="stylesheet" href="<%=basePath%>css/style.css">
    <style type="text/css">
        .text-overflow-clip {
            text-overflow: clip;
            overflow: hidden;
            height: 300px;
        }
    </style>

</head>

<body>
<div class="head-box">
    <div class="head wrap">
        <div class="logo fl"><a href=""><img src="<%=basePath%>images/logo.png"></a></div>
        <div class="head-right fr">
            <div class="clearfix"></div>
            <jsp:include page="foot2.jsp"></jsp:include>
            <div class="clearfix"></div>
        </div>
    </div>
</div>


<div class="content">
    <div class="col-height"></div>
    <div class="focus-banner">
        <div class="wrap">
            <div class="focus-a1"><img src="<%=basePath%>upload/focus-a2.png"></div>
            <div class="focus-a2">shuiguodaren</div>
            <div class="focus-a3">
                <div class="py-a fl">文章 20</div>
                <div class="pyl  fl">关注 500
                </div>
                <div class="py-a fl">粉丝 500</div>
                <div class="py-b fl">收藏 80</div>
            </div>
        </div>
    </div>
    <br/>
    <br/>
    <br/>
    <br/>
    <form action="<%=basePath%>TestSX/TieziAction" ,method="post">
        <%--<input hidden name="fileEntity.UserEntity.id" value="${sessionScope.user.id}">--%>
        <div class="focus-b-box">
            <div class="focus-list">
                <div class="focus-title" style="margin-left:80px">发表您的帖子:</div>
            </div>
            <div>
                <tr style="display: block; margin: 20px 0;">
                    <td>
                        <span style="margin-left:70px">标题</span>：
                    </td>
                    <td>
                        <input type="text" name="fileEntity.fname"
                               style="border:1px silver solid;width: 200px;height: 26px">
                    </td>
                    <td>
                        <span style="margin-left: 260px">
                            <select name="fileEntity.type"
                                    style="margin-left: 110px;border: 1px silver solid;width: 120px;background-color:whitesmoke">
                                <option value="0">选择类别</option>
                                <option value="android">android四大組件</option>
                                <option value="java">java编程思想</option>
                                <option value="服务器端">服务器端</option>
                                <option value="springmvc">springmvc</option>
                                <option value="ssh">ssh</option>
                            </select>
                        </span>
                    </td>
                </tr>
            </div>
            <br>
            <div align="center">
                <textarea id="content_1" name="fileEntity.fmain" cols="120" rows="20"
                          class="text-overflow-clip"></textarea><br/>

            </div>
            <div style="float: right;margin-top: 20px;margin-bottom: 1px;"><input class="tijiao" type="submit"
                                                                                  value="提交"></div>
        </div>
    </form>
</div>

<jsp:include page="/foot/foot1.jsp"/>

<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/Action.js"></script>
<script>
    $(".pyl").click(function () {
        $(this).find(".tbq").slideToggle()
    })
</script>
</body>
</html>

